using System;
using System.Diagnostics;
using System.IO;
using NUnit.Framework;

using BuildAutoIncrement;

namespace TestUnits {
    /// <summary>
    /// Summary description for Class1.
    /// </summary>
    [TestFixture]
    public class InetStpTest {

        public InetStpTest() {
        }

        [SetUp] 
        public void SetUp() {
        }

        [TearDown] 
        public void TearDown() {
        }

        public void Test1() {
            bool isAvailable = InetRootLocator.Instance.IsIisAvailable;
            Assert.IsTrue(isAvailable);
            string file = InetRootLocator.Instance.GetLocalPath("http://localhost/WebApplication2/WebApplication2.csproj");
            Assert.IsTrue(File.Exists(file));
        }
    }
}
